#!/usr/bin/env python
# encoding:utf-8
'''
@author: yangyongjie
@license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited. 
@contact: deamoncao100@gmail.com
software: garner
@file: response.py
@time: 2022/8/25 15:17
@desc:
'''
def generate_response(status_code = 10000, message="ok", data=None):
    if data is None:
        data = []
    return {
        "status_code":status_code,
        "message":message,
        "data":data
    }